<?php
/**
 * @link http://www.tintsoft.com/
 * @copyright Copyright (c) 2013 TintSoft LLC
 * @license http://www.tintsoft.com/license/
 */
namespace Leaps\Log;
use Leaps\Base\ServiceProvider;
class LogServiceProvider extends ServiceProvider {

	/**
	 * 注册服务提供者
	 *
	 * @return void
	 */
	public function register()
	{
		$this->app['log'] = $this->app->share(function($app) {
		    return new Logger($app['config']['log']);
		});
	}
}